package com.baidu.dtx.score.api;

/**
 * @author shilei
 * @create 2021-06-07 15:27
 */

import com.baidu.dtx.score.dto.ScoreDTO;
import org.dromara.hmily.annotation.Hmily;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("DTX-SCORE2001")
public interface ScoreApi
{
    @Hmily
    @RequestMapping("/score/decrease")
    public String decrease(@RequestBody ScoreDTO obj);
}
